<template>
    <tr>
        <td><input type="number" v-model.number="tr.count"></td>
        <td>{{tr.goodsName}}</td>
        <td>{{tr.count === 0 ? '卖光了！' : ''}}</td>
    </tr>
</template>

<script>
export default {
  name: 'TrCom',
  props: ['tr']
}
</script>

<style>

</style>
